package com.longlong.mapper;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.longlong.entity.RegistrationCompetition;
import com.longlong.entity.RegistrationForm;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RegistrationCompetitionMapper extends BaseMapper<RegistrationCompetition> {

    /*
    * 根据比赛id返回需要投票的报名表
    * */
    List<Object> selectRegistrationFormListByCompetitionId(@Param(Constants.WRAPPER) Wrapper<RegistrationCompetition> wrapper);

}
